#ifndef QTVISIONTEST_MYDIALOG_H
#define QTVISIONTEST_MYDIALOG_H
#include <QDialog>
class QLineEdit;
class QPushButton;
class MyDialog : public QDialog
{
Q_OBJECT
public:
    explicit MyDialog(QWidget *parent = nullptr);

signals:
    // 自定义信号：发送字符串数据
    void sendData(const QString &data);

private slots:
    void onConfirmClicked();

private:
    QLineEdit *lineEdit;
    QPushButton *confirmButton;
};
#endif //QTVISIONTEST_MYDIALOG_H
